package com.huawei;

import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 * Description: HJ7 取近似值（****）
 *
 * @author weiruibai.vendor
 * Date: 2022/8/11 10:40
 */
public class HJ7 {

    public static void main(String[] args) throws Exception {

        BufferedReader bd = new BufferedReader(new InputStreamReader(System.in));
        float s = Float.parseFloat(bd.readLine());
        System.out.println(Math.round(s));
    }
}
